package com.zyg.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Builder
@Data
@TableName("sys_role")
@NoArgsConstructor
@AllArgsConstructor
public class Role {
    @TableId(value = "role_id", type = IdType.AUTO)
    private Integer roleId;
    private String roleName;

    public Integer getId() {
        return roleId;
    }
}
